<%--
  Created by IntelliJ IDEA.
  User: ？
  Date: 2021/11/9
  Time: 8:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="js/jquery-3.6.0.min.js"></script>
    <script>


        var data = [
            {"id":"b001","title":"javaweb","price":"998"},
            {"id":"b002","title":"java基础","price":"123"},
            {"id":"b003","title":"ssh","price":"1250"},
        ];

        // alert(data[2].title)

        $(data).each(function (index,ele) {
            console.log(index+"_"+ele.id+" "+ele.title+" "+ele.price)

        })















    </script>
</head>
<body>

</body>
</html>
